<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
   xmlns:ui="http://java.sun.com/jsf/facelets"
   xmlns:h="http://java.sun.com/jsf/html"
   xmlns:f="http://java.sun.com/jsf/core"
   xml:lang="en" lang="en"> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Converter - Login</title>
</head>
<body>
<f:view>
<h:form id="loginForm">
<table>
  <tr>
    <td>Login:</td>
    <td>
	    <h:inputText id='username' value='#{ LoginBean.username }' required='true'> 
	    	<f:validateLength minimum='1' maximum='30' />
	    </h:inputText>
    </td>
    <td><h:message for='username' /></td>
  </tr>
  <tr>
    <td>Password:</td>
    <td>
    	<h:inputSecret id='password' value='#{ LoginBean.password }' required='true'>
	    	<f:validateLength minimum='1' maximum='30' />
	    </h:inputSecret>
	</td>
    <td><h:message for='password' /></td>
  </tr>
  <tr>
    <td> </td>
    <td><h:commandButton action='#{ LoginBean.process }' value='Login' /></td>
    <td> </td>
  </tr>
</table>

</h:form>
</f:view>
</body>
</html>
   